package dao

import (
	_ "github.com/go-sql-driver/mysql"
	"github.com/go-xorm/xorm"
)

var mysqlEngine *xorm.Engine

func GetMysql() *xorm.Engine {
	if mysqlEngine == nil {
		panic("mysql not inited")
	}
	return mysqlEngine
}
